package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 刘旭超
 * @date 2022年07月11日 16:16
 * @Description 司机信息表
 */
@EqualsAndHashCode(callSuper = true)
@TableName("carrier_info")
@Data
public class CarrierInfoPO extends BasePO {

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "手机号")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "身份证号码")
    @TableField("idcard_no")
    private String idcardNo;

    @ApiModelProperty(value = "驾驶证号")
    @TableField("driving_licence_no")
    private String drivingLicenceNo;

    @ApiModelProperty(value = "身份证照")
    @TableField("idcard_pic")
    private String idcardPic;

    @ApiModelProperty(value = "手持身份证照")
    @TableField("hand_idcard_pic")
    private String handIdcardPic;

    @ApiModelProperty(value = "驾驶证照")
    @TableField("driving_licence_pic")
    private String drivingLicencePic;

    @ApiModelProperty(value = "审核状态:未认证_0,待审核_1,已认证_2,已驳回_3")
    @TableField("authentication_status")
    private Integer authenticationStatus;

    @ApiModelProperty(value = "审核备注")
    @TableField("authentication_remark")
    private String authenticationRemark;

    @ApiModelProperty(value = "提交时间")
    @TableField("submit_time")
    private Date submitTime;

    @ApiModelProperty(value = "认证时间")
    @TableField("authentication_time")
    private Date authenticationTime;

    @ApiModelProperty(value = "审核人")
    @TableField("auth_user_id")
    private Long authenticationUserId;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "省份编码")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty(value = "省份名称")
    @TableField("province_name")
    private String provinceName;

    @ApiModelProperty(value = "城市编码")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "城市名称")
    @TableField("city_name")
    private String cityName;

    @ApiModelProperty(value = "区县编码")
    @TableField("area_code")
    private String areaCode;

    @ApiModelProperty(value = "区县名称")
    @TableField("area_name")
    private String areaName;

    @ApiModelProperty(value = "详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "组织机构Id")
    @TableField("departid")
    private String departid;

    @ApiModelProperty(value = "道路许可证照")
    @TableField("road_permit_pic")
    private String roadPermitPic;

    @ApiModelProperty(value = "营业执照")
    @TableField("business_licence_pic")
    private String businessLicencePic;

    @ApiModelProperty(value = "人车合影照")
    @TableField("carrier_vehicle_pic")
    private String carrierVehiclePic;

    @ApiModelProperty(value = "道路许可证号")
    @TableField("road_permit_no")
    private String roadPermitNo;

    @ApiModelProperty(value = "司机从业资格证")
    @TableField("driver_qualification_pic")
    private String driverQualificationPic;

    @ApiModelProperty(value = "身份证反面照")
    @TableField("idcard_reverse_pic")
    private String idcardReversePic;

    @ApiModelProperty(value = "司机从业资格证号")
    @TableField("qualification_certificate_number")
    private String qualificationCertificateNumber;

    @ApiModelProperty(value = "用户类型：1：新用户；2老用户")
    @TableField("user_type")
    private Integer userType;

    @ApiModelProperty(value = "驳回原因")
    @TableField("reject_reason")
    private String rejectReason;

    @ApiModelProperty(value = "司机评分")
    @TableField("appraisal_score")
    private Integer appraisalScore;

    @ApiModelProperty(value = "历史备注")
    @TableField("history_remark")
    private String historyRemark;

    @ApiModelProperty(value = "身份类型，1司机，2经纪人，3车队长，4运力辅助人,5运输公司,7物流辅助服务商")
    @TableField("identity_type")
    private Integer identityType;

    @ApiModelProperty(value = "是否注销 0：未注销；1：已注销")
    @TableField("cancer")
    private Integer cancer;

    @ApiModelProperty(value = "用户来源0自己平台注册，1其他快成平台")
    @TableField("user_source")
    private Integer userSource;

    @ApiModelProperty(value = "身份证有效期起始时间")
    @TableField("idcard_start_time")
    private Date idcardStartTime;

    @ApiModelProperty(value = "身份证有效期起始时间")
    @TableField("idcard_end_time")
    private Date idcardEndTime;

    @ApiModelProperty(value = "旧版司机变更车队长身份标示，0：否，1：是")
    @TableField("captain_change_type")
    private Integer captainChangeType;

    @ApiModelProperty(value = "驾驶证准驾车型")
    @TableField("allow_driving_model")
    private String allowDrivingModel;

    @ApiModelProperty(value = "驾驶证有效截止时间")
    @TableField("driver_license_end_time")
    private Date driverLicenseEndTime;

    @ApiModelProperty(value = "司机活体认证状态：0未认证，1认证中，2已认证")
    @TableField("identify_status")
    private Integer identifyStatus;

    @ApiModelProperty(value = "司机活体认证时间")
    @TableField("identify_time")
    private Date identifyTime;

    @ApiModelProperty(value = "车辆绑定上限")
    @TableField("vehicle_binging_limit")
    private Integer vehicleBingingLimit;

    @ApiModelProperty(value = "出生日期")
    @TableField("birth_date")
    private Date birthDate;

    @ApiModelProperty(value = "用户来源 0-旧快成APP注册，1-建龙APP注册，2-重构APP注册")
    @TableField("register_source")
    private Integer registerSource;

    @ApiModelProperty(value = "是否补充准驾资质 0-否，1-是")
    @TableField("allow_driving_model_flag")
    private Integer allowDrivingModelFlag;

    @ApiModelProperty(value = "辅助企业")
    @TableField("auxiliary_enterprise_name")
    private String auxiliaryEnterpriseName;

    @ApiModelProperty(value = "辅助内容")
    @TableField("auxiliary_content")
    private String auxiliaryContent;

    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("unified_social_credit_code")
    private String unifiedSocialCreditCode;

    @ApiModelProperty(value = "辅助企业入驻标识（0未入驻；1已入驻）")
    @TableField("auxiliary_enterprise_enter_flag")
    private Integer auxiliaryEnterpriseEnterFlag;

    @ApiModelProperty(value = "旧版司机变更身份标示，0：否，1：是")
    @TableField("role_change_type")
    private Integer roleChangeType;

    @ApiModelProperty(value = "合作车老板上限")
    @TableField("captain_collaborate_limit")
    private Integer captainCollaborateLimit;

    //6.0新增
    @ApiModelProperty(value = "是否锁定，0:正常,1:锁定")
    @TableField("is_lock")
    private Integer isLock;

    @ApiModelProperty(value = "标签，多个标签用空格分隔")
    @TableField("label")
    private String label;

    @ApiModelProperty(value = "是否删除 0:正常,1:删除")
    @TableField("deleted")
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_id")
    private Long updateUserId;

    @ApiModelProperty(value = "平台码标识")
    @TableField("platform_no")
    private String platformNo;

    @ApiModelProperty(value = "身份变更次数")
    @TableField("identity_change_count")
    private Integer identityChangeCount;

    @ApiModelProperty(value = "注册方式 1-APP注册")
    @TableField("register_type")
    private Integer registerType;

    @ApiModelProperty(value = "用户标签 1测试 2 内部 3 真实")
    @TableField("user_tag")
    private Integer userTag;
}
